package effective_java.design_pattern.visitor;

/**
 * 主人
 *
 * @author Verlet
 * @date 2023-10-05 01:48
 */
public class Owner implements Person{
    @Override
    public void feed(Cat cat) {
        System.out.print("主人喂食猫\t");
    }

    @Override
    public void feed(Dog dog) {
        System.out.print("主人喂食狗\t");
    }
}
